package the.broccoli.setting.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.wisteria.framework.web.mvc.entity.SuperEntity;

import java.io.Serializable;

/**
 * <p>
 * 字典项
 * </p>
 *
 * @author lei.liu
 * @since 2019-11-27
 */
@Data
@TableName("setting_dict")
public class Dict extends SuperEntity implements Serializable {

    private static final long serialVersionUID = 443215338121069676L;
    /**
     * 字典项ID
     */
    @TableId("dict_id")
    private String dictId;

    /**
     * 应用ID
     */
    @TableField("app_id")
    private String appId;

    /**
     * 代码
     */
    @TableField("constant")
    private String constant;

    /**
     * 父级字典项ID
     */
    @TableField("parent_id")
    private String parentId;

    /**
     * 字典项编码
     */
    @TableField("dict_code")
    private String dictCode;

    /**
     * 字典项名称
     */
    @TableField("dict_name")
    private String dictName;

    /**
     * 扩展值
     */
    @TableField("dict_value")
    private String dictValue;

    @TableField("serial")
    private Integer serial = 1;
}
